﻿<Window
        x:Class="BadHabit.Factory.Windows.Splash"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:props="clr-namespace:BadHabit.Factory.Properties"                                
    
        Loaded="Window_Loaded"
        WindowStyle="None"
        ShowInTaskbar="False"
        Title="Splash" 
        Background="Transparent"
        Topmost="True"
        Width="400"
        Height="130"
        AllowsTransparency="True"    
        WindowStartupLocation="CenterScreen"
        SnapsToDevicePixels="True">
    <Grid>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="Auto"/>
            <ColumnDefinition Width="Auto"/>
        </Grid.ColumnDefinitions>
        
        <Border
            VerticalAlignment="Top"
            Margin="0,38,0,0"
            Grid.Column="0"
            Height="82"
            
            Opacity="0.8" BorderBrush="Gray" CornerRadius="5,0,0,5" BorderThickness="1,1,0,1">
            <Border.Background>
                <RadialGradientBrush Center="0.2,0.2">
                    <GradientStop Color="White" Offset="0.5"/>
                    <GradientStop Color="#EFEFEF" Offset="0.7"/>
                    <GradientStop Color="#EEEEEE" Offset="1"/>
                </RadialGradientBrush>
            </Border.Background>
            <StackPanel Orientation="Vertical" Background="Transparent">
                <TextBlock Margin="5,5,5,5" Foreground="Black" FontSize="23">The Scrum Factory</TextBlock>
                <TextBlock Margin="5,5,5,5" Foreground="Black" FontSize="10" x:Name="versionTextBlock"></TextBlock>
                <TextBlock Margin="5,3,5,5" Foreground="Black" FontSize="10">Bad Habit Software</TextBlock>                
            </StackPanel>
            <Border.BitmapEffect>                
                <DropShadowBitmapEffect Color="Black" Direction="300" Opacity="0.3" ShadowDepth="3" Softness="0.1"/>
            </Border.BitmapEffect>
        </Border>
        <Image Grid.Column="1" Source="/Images/logo.png" Height="122" Width="131">
            <Image.BitmapEffect>
                <DropShadowBitmapEffect Color="Black" Direction="270" Opacity="0.3" ShadowDepth="3" Softness="0.1"/>
            </Image.BitmapEffect>
        </Image>
    </Grid>
    
</Window>
